package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.entity.Problem;
import org.example.entity.Task;
import org.example.entity.UserProject;

import java.util.List;

public interface ProblemMapper extends BaseMapper<Problem> {
    @Select("SELECT * FROM problem WHERE projectName = #{projectName}")
    List<Problem> selectProblem(@Param("projectName") String projectName);
}
